package com.jinlejia.erp.ui.mine.transfer;

import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;

import android.widget.ImageView;
import android.widget.TextView;

import com.jinlejia.erp.R;

import org.simple.eventbus.EventBus;


/**
 * 异动申请提交成功
 */
public class CommitSuccessActivity extends AppCompatActivity {

    TextView tvTitle;
    private ImageView back_btn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_commit_success);
        tvTitle = (TextView) findViewById(R.id.tv_title);
        back_btn = (ImageView) findViewById(R.id.back_btn);
        back_btn.setOnClickListener(view -> finish());
        tvTitle.setText("提交成功");
        EventBus.getDefault().post(new TransferApplySuccessEvent(0));
    }

    public void onViewClicked() {
        finish();
    }

}
